package com.bl.weilan.service.vo.train;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Id;
import java.util.Date;
@Data
@ApiModel(value="增加培训活动信息", description="增加培训活动body", discriminator = "增加培训活动")

public class TrainAddVo {

    @ApiModelProperty(value = "活动标题")
    private String title;

    @ApiModelProperty(value = "老师")
    private String teacher;

    @ApiModelProperty(value = "内容")
    private String content;

    @ApiModelProperty(value = "图片")
    private String image;

    @ApiModelProperty(value = "开始时间")
    @Column(name = "start_time")
    private Date startTime;

    @ApiModelProperty(value = "权重")
    private int weight;

    @ApiModelProperty(value = "链接")
    private String url;
}
